package com.nit.lab.entity.basic;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @文件名：StaffEntity
 * @创建人: SN
 * @创建时间: 2020/3/23
 * @描述:
 */
public class StaffEntity {

    private Long staffId;
    private String staffName;
    private Long deptId;
    private Long deptFather;
    private String staffSex;
    private String staffImage;
    private String staffTel;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date staffBirth;
    private String staffInfo;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    public StaffEntity() {
    }

    public StaffEntity(Long staffId, String staffName, Long deptId, Long deptFather, String staffSex, String staffImage, String staffTel, Date staffBirth, String staffInfo, Date gmtCreate) {
        this.staffId = staffId;
        this.staffName = staffName;
        this.deptId = deptId;
        this.deptFather = deptFather;
        this.staffSex = staffSex;
        this.staffImage = staffImage;
        this.staffTel = staffTel;
        this.staffBirth = staffBirth;
        this.staffInfo = staffInfo;
        this.gmtCreate = gmtCreate;
    }

    public Long getStaffId() {
        return staffId;
    }

    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptFather() {
        return deptFather;
    }

    public void setDeptFather(Long deptFather) {
        this.deptFather = deptFather;
    }

    public String getStaffSex() {
        return staffSex;
    }

    public void setStaffSex(String staffSex) {
        this.staffSex = staffSex;
    }

    public String getStaffImage() {
        return staffImage;
    }

    public void setStaffImage(String staffImage) {
        this.staffImage = staffImage;
    }

    public String getStaffTel() {
        return staffTel;
    }

    public void setStaffTel(String staffTel) {
        this.staffTel = staffTel;
    }

    public Date getStaffBirth() {
        return staffBirth;
    }

    public void setStaffBirth(Date staffBirth) {
        this.staffBirth = staffBirth;
    }

    public String getStaffInfo() {
        return staffInfo;
    }

    public void setStaffInfo(String staffInfo) {
        this.staffInfo = staffInfo;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
